package com.ktjiaoyu.ktmall.service;

import com.ktjiaoyu.ktmall.entity.Product;

import java.util.List;

public interface ProductService {
    List<Product> findList(String title,Long categoryId,int page,int pageSize);
    int count(String title,Long categoryId);
    Product findById(Long id);
    public int insert(Product product);
    public int update(Product product);
    boolean removeById(Long id);
    boolean updateStatus(Long id,Integer status);
}
